<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * 项目平面图
 */
class ProjectPlan extends Model
{
    protected $table = 'xfy_project_plan';
    protected $primaryKey = 'id'; 

    protected $fillable = ['image','name'];

    public function project()
    {
        return $this->belongsTo(Project::class, 'project_id');
    }   
}